#ifndef _AiP33624_h_
#define _AiP33624_h_

#include "delay.h"

//#define CLK P16
//#define DIO P17

#define CLK P32
#define DIO P33

extern code unsigned char  gamma3[64];

extern code unsigned char  gamma1[8];
extern code unsigned char  gamma2[8]; 
extern code unsigned char   gamm10[16];
extern code unsigned char  gamm20[16]; 
extern code unsigned char index_wave[175];

void AiP33624_start(void);
void AiP33624_stop(void);
void AiP33624_write(unsigned char dat);
void write_cmd(unsigned int cmd);
void AiP33624_init(void);
void AiP33624_WriteData(unsigned char addr1,unsigned char dat);
void AiP33624_WriteData_Red(unsigned char addr1,unsigned char dat);
void AiP33624_WriteData_Blue(unsigned char addr1,unsigned char dat);
void AiP33624_WriteData_Green(unsigned char addr1,unsigned char dat);
void Breath_Light_Blue(void);
void Breath_Light_Red(void);
void Breath_Light_Green(void);
void Full_Color(void);
void Full_Bright(void);
void Full_Breath_1(void);
void Full_Breath_2(void);
void Full_Breath_3(void);
void AiP33624_WriteData_Full_Breath_1(unsigned char addr1,unsigned char dat);
void AiP33624_WriteData_Full_Breath_2(unsigned char addr1,unsigned char dat);
void AiP33624_WriteData_Full_Breath_3(unsigned char addr1,unsigned char dat);
#endif